def frames_to_destroy(func):
    def wrapper(self, d: tuple = (), *args, **kwargs):
        for frm in d:
            print(frm)
        return func(self, *args, **kwargs)
    return wrapper


def my_decorator(arg):
    def decorator(func):
        def wrapper(*args, **kwargs):
            print(f"function {func.__name__} start, with arg: {arg}")
            result = func(*args, **kwargs)
            print(f"function {func.__name__} end, with arg: {arg}")
            return result

        return wrapper

    return decorator